Carbon


IsControlActive

Header: Controls.h Carbon status: Supported

Returns whether a control is active.

Boolean IsControlActive (
    ControlRef inControl
);
inControl

A handle to the control to be examined.

function result

If true, the control is active. If false, the control is inactive.

DISCUSSION

If you wish to determine whether a control is active, you should call IsControlActive instead of testing the contrlHilite field of the control structure.

VERSION NOTES

This function is available with Appearance Manager 1.0 and later.

AVAILABILITY

Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.


© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)